
package com.snail.mobile.sim.oss.videoinfo.dao;

import java.util.Collection;
import java.util.List;

import com.sungrid.seine.oss.framework.dao.BaseDao;
import com.snail.mobile.sim.oss.videoinfo.model.TblVideoInfoOss;

public interface TblVideoInfoOssDao extends BaseDao 
{
    /**
     * Gets tblVideoInfoOss's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param nid the tblVideoInfoOss's nid
     * @return tblVideoInfoOss populated tblVideoInfoOss object
     */
    public TblVideoInfoOss getTblVideoInfoOss(final Integer nid);

    /**
     * Saves a tblVideoInfoOss's information
     * @param tblVideoInfoOss the object to be saved
     */    
    public void saveTblVideoInfoOss(TblVideoInfoOss tblVideoInfoOss);

    /**
     * Saves or Updates a tblVideoInfoOss's information
     * @param tblVideoInfoOss the object to be saved
     */    
    public void saveOrUpdateTblVideoInfoOss(TblVideoInfoOss tblVideoInfoOss);

    /**
     * Removes a tblVideoInfoOss from the database by nid
     * @param nid the tblVideoInfoOss's nid
     */
    public void removeTblVideoInfoOss(final Integer nid);

    /**
     * Retrieves all of the tblVideoInfoOsss
     */
    public List getTblVideoInfoOsss(TblVideoInfoOss tblVideoInfoOss);

    /**
     * Removes the tblVideoInfoOsss from the database
     * @param tblVideoInfoOsss the tblVideoInfoOsss to be removed
     */
    public void removeTblVideoInfoOsss(final Collection tblVideoInfoOsss);

    /**
     * Saves the tblVideoInfoOsss from the database
     * @param tblVideoInfoOsss the tblVideoInfoOsss to be saved
     */
    public void saveTblVideoInfoOsss(final Collection tblVideoInfoOsss);
}